From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Sat, 14 Sep 2024 04:48:49 +0000 (-0600) Subject: bring back See You support (#1280) X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2^2~51 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=17fb7edc503fafa9f0cb7bcf3b6cbf9030c38d3f;p=gpsbabel.git bring back See You support (#1280) I think someone was waiting for me to say no. Sometimes, "good enough" (for users with no representation here...) seems to be. Co-authored-by: Robert Lipe --- diff --git a/gpsbabel.qrc b/gpsbabel.qrc index fa17fff4f..6e0a4fc9d 100644 --- a/gpsbabel.qrc +++ b/gpsbabel.qrc @@ -2,6 +2,7 @@ style/arc.style style/csv.style + style/cup.style style/custom.style style/garmin301.style style/garmin_g1000.style diff --git a/reference/format0.txt b/reference/format0.txt index 8019ce1c6..6ee4b2eb5 100644 --- a/reference/format0.txt +++ b/reference/format0.txt @@ -44,6 +44,7 @@ nmea NMEA 0183 sentences osm osm OpenStreetMap data files ozi OziExplorer qstarz_bl-1000 Qstarz BL-1000 +cup cup See You flight analysis data skytraq SkyTraq Venus based loggers (download) skytraq-bin bin SkyTraq Venus based loggers Binary File Format subrip srt SubRip subtitles for video mapping (.srt) diff --git a/reference/format1.txt b/reference/format1.txt index 72f9843ca..03dd842ca 100644 --- a/reference/format1.txt +++ b/reference/format1.txt @@ -50,6 +50,7 @@ file nmea NMEA 0183 sentences file osm osm OpenStreetMap data files file ozi OziExplorer file qstarz_bl-1000 Qstarz BL-1000 +file cup cup See You flight analysis data serial skytraq SkyTraq Venus based loggers (download) file skytraq-bin bin SkyTraq Venus based loggers Binary File Format file subrip srt SubRip subtitles for video mapping (.srt) diff --git a/reference/format2.txt b/reference/format2.txt index 0054e5347..f680f6e6e 100644 --- a/reference/format2.txt +++ b/reference/format2.txt @@ -50,6 +50,7 @@ file rwrw-- nmea NMEA 0183 sentences file rw-wrw osm osm OpenStreetMap data files file rwrwrw ozi OziExplorer file r-r--- qstarz_bl-1000 Qstarz BL-1000 +file rw---- cup cup See You flight analysis data serial r-r--- skytraq SkyTraq Venus based loggers (download) file r-r--- skytraq-bin bin SkyTraq Venus based loggers Binary File Format file ---w-- subrip srt SubRip subtitles for video mapping (.srt) diff --git a/reference/format3.txt b/reference/format3.txt index e647cda7f..217be656f 100644 --- a/reference/format3.txt +++ b/reference/format3.txt @@ -656,6 +656,24 @@ option ozi codec codec to use for reading and writing strings (default windows-1 file r-r--- qstarz_bl-1000 Qstarz BL-1000 qstarz_bl-1000 https://www.gpsbabel.org/WEB_DOC_DIR/fmt_qstarz_bl-1000.html +file rw---- cup cup See You flight analysis data xcsv + https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html +option cup snlen Max synthesized shortname length integer 1 https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_snlen + +option cup snwhite Allow whitespace synth. shortnames boolean https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_snwhite + +option cup snupper UPPERCASE synth. shortnames boolean https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_snupper + +option cup snunique Make synth. shortnames unique boolean https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_snunique + +option cup urlbase Basename prepended to URL on output string https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_urlbase + +option cup prefer_shortnames Use shortname instead of description boolean https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_prefer_shortnames + +option cup datum GPS datum (def. WGS 84) string https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_datum + +option cup utc Write timestamps with offset x to UTC time integer -14 +14 https://www.gpsbabel.org/WEB_DOC_DIR/fmt_cup.html#fmt_cup_o_utc + serial r-r--- skytraq SkyTraq Venus based loggers (download) skytraq https://www.gpsbabel.org/WEB_DOC_DIR/fmt_skytraq.html option skytraq erase Erase device data after download boolean 0 https://www.gpsbabel.org/WEB_DOC_DIR/fmt_skytraq.html#fmt_skytraq_o_erase diff --git a/reference/help.txt b/reference/help.txt index 8a6f24c5e..99a933530 100644 --- a/reference/help.txt +++ b/reference/help.txt @@ -323,6 +323,15 @@ File Types (-i and -o options): proxunit Unit used in proximity values codec codec to use for reading and writing strings (defa qstarz_bl-1000 Qstarz BL-1000 + cup See You flight analysis data + snlen Max synthesized shortname length + snwhite (0/1) Allow whitespace synth. shortnames + snupper (0/1) UPPERCASE synth. shortnames + snunique (0/1) Make synth. shortnames unique + urlbase Basename prepended to URL on output + prefer_shortnames (0/1) Use shortname instead of description + datum GPS datum (def. WGS 84) + utc Write timestamps with offset x to UTC time skytraq SkyTraq Venus based loggers (download) erase (0/1) Erase device data after download targetlocation Set location finder target location as lat,lng diff --git a/style/cup.style b/style/cup.style new file mode 100644 index 000000000..2803b760d --- /dev/null +++ b/style/cup.style @@ -0,0 +1,46 @@ +# +# (c) 2006, Robert Lipe, based on sample files by Krzysztof Wojtas +# Reference info: http://www.seeyou.ws/thankyou.php?fname=cup_format.pdf +# Reference info: http://download.naviter.com/docs/cup_format.pdf +# Reference info: http://www.keepitsoaring.com/LKSC/Downloads/cup_format.pdf +# + +DESCRIPTION See You flight analysis data +SHORTLEN 8 +EXTENSION cup +# +# +# FILE LAYOUT DEFINITIIONS: +# +FIELD_DELIMITER COMMA +RECORD_DELIMITER NEWLINE +BADCHARS ," +PROLOGUE name,code,country,lat,lon,elev,style,rwdir,rwlen,freq,desc +EPILOGUE -----Related Tasks----- + + +IFIELD IGNORE,"", ""%s"" +IFIELD SHORTNAME,"", "%s" +IFIELD CONSTANT,"", "" +IFIELD LAT_DDMMDIR, "%f", "%08.3f", "absolute" +IFIELD LON_DDMMDIR, "%f", "%09.3f", "absolute" +IFIELD ALT_METERS,"", "%dm" +IFIELD CONSTANT,"", "1" +IFIELD CONSTANT,"", "" +IFIELD CONSTANT,"", "" +IFIELD CONSTANT,"", "" +IFIELD DESCRIPTION,"", ""%s"" + +OFIELD SHORTNAME,"", ""%s"" +OFIELD SHORTNAME,"", "%s" +OFIELD CONSTANT,"", "" +OFIELD LAT_DDMMDIR, "", "%08.3f%c" +OFIELD LON_DDMMDIR, "", "%09.3f%c" +OFIELD ALT_METERS,"", "%3.1fm" +OFIELD CONSTANT,"", "1" +OFIELD CONSTANT,"", "" +OFIELD CONSTANT,"", "" +OFIELD CONSTANT,"", "" +OFIELD DESCRIPTION,"", ""%s"" + + diff --git a/xmldoc/formats/cup.xml b/xmldoc/formats/cup.xml new file mode 100644 index 000000000..39e5bf59e --- /dev/null +++ b/xmldoc/formats/cup.xml @@ -0,0 +1,14 @@ + + This format supports flight analysis data from the +See You + program. + + + Position information is preserved, but the aviation-specific + information such as runway length and airport frequency, are + written as blanks and ignored on read. + + + Tasks are not supported. + +